home *** CD-ROM | disk | FTP | other *** search
/ MACup: Giveaway 1996 / Image.iso / Shareware & Demos / Web-Publishing / SNAP PrimeBase / Client Software / How to install... < prev    next >
Encoding:
Text File  |  1996-07-29  |  4.6 KB  |  93 lines  |  [TEXT/ttxt]

  1. INSTALLING THE CLIENT SOFTWARE:
  2.  
  3. Place both ConnectionSetup and EnvironmentEdit in your 'Control Panels' folder or 'Apple Menu Items' folder for quick and easy access.
  4.  
  5. Macintosh 68K:
  6.  
  7. • Place the "PrimeBase Extension" in your 'Extensions' folder and restart your computer.
  8.  
  9. Power Macintosh:
  10.  
  11. • Place the "PrimeBase Extension"  and the "PrimeBaseLib" in your  'Extensions' folder and restart your computer.
  12.  
  13.  
  14. Setup a connection
  15.  
  16. After you have restarted, and when the the server is running,
  17.  
  18. • Start connection setup, and  click 'Create', to create a new connection definition file (connect.def).
  19. • Click the 'NEW' to create a new connection.
  20. • Define a  connection to your server.
  21.  
  22. NOTE: If the server is running on the same machine as the client, select the 'Program-Linking' Protocol, and if it is running on a remote machine, select 'ADSP'.
  23.  
  24.  
  25. Run your client application
  26.  
  27. You may now connect to the server with a client application. Try the 'interactive Data Access Manager shell' (iDAM), in this folder, or download and try the example telephone application.
  28.  
  29. To login using iDAM is easy if you have already setup a connection to the server. We iDAM prompts for a Database Extension name you can hit return to accept the default: 'DAL'.
  30.  
  31. NOTE: User name for the server is: Administrator, and password in blank.
  32.  
  33. You may enter a multi-line DAL sub-program at the iDAM prompt. When you have done this, type 'go', and the program will be executed. For example, enter:
  34.  
  35. describe databases;
  36. printall;
  37. go
  38.  
  39. This DAL command lists the databases available on the server. You can now open a database:
  40.  
  41. open database telephone;
  42. go
  43.  
  44. And then select some data:
  45.  
  46. select * from person; printall;
  47. go
  48.  
  49. Enter 'bye' to close the DAL session, and quit the application.
  50.  
  51.  
  52. ABOUT THE PrimeBase CLIENT SOFTWARE:
  53.  
  54. The client software consists of the following components:
  55.  
  56. • PrimeBase Extension - A standard Macintosh 'Database Extenstion'.
  57.  
  58. This component may be used on both 68K and PowerPC machines. It enables an application to access the a PrimeBase server using Apple's Data Access Manager.
  59.  
  60. It must be placed in the 'Extensions' folder, and the computer must be restarted before the extension may be used.
  61.  
  62. The database extension uses the name "DAL". Defined in the 'ddev' resource. Change this if you already have a database extension installed with the name DAL, or remove the other database extension.
  63.  
  64. PrimeBase Extesion also installs a macintosh driver with the name ".CL1E5' (defined in the DRVR resource). This is the standard name for the DAL driver. Change the name if you get the error 'Driver already loaded' on restart (or remove the other DAL driver).
  65.  
  66. • PrimeBaseLib - A PowerPC native shared library.
  67.  
  68. This is a Macintosh shared library version of the PrimeBase client software. It may be used only on PowerMacs. Applications that require this library search for it in the 'Extensions' folder, and in the current working directory.
  69.  
  70. Placing the library in the Extensions folder ensures that it can be found by all client applications.
  71.  
  72. • ConnectionSetup - A "control panel" to configure client connections.
  73.  
  74. ConnectionSetup must be used to define a connect to the server before a client application can connect to the server.
  75.  
  76. Multiple connections may be defined, and are identified by a 'connection alias'. The top-most connection entry is considered the default. Client applications must pass the connection alias in the 'host' parameter of the DBInit() call when making a connection to the server.
  77.  
  78. The connection definitions are stored in a file called 'connect.def'. Client software searches for this file by first looking in the current working directory (and 'Setup'/'PrimeBase Setup' sub-directories), and then in the Preferences folder. The connect.def file may be setup once by the administrator, and then distributed to all client machines.
  79.  
  80. • EnvironmentEdit - A "control panel" for editing environment (preferences) files.
  81.  
  82. Environment files contain settings for various PrimeBase components. These file end in '.env'. Normally you should not need to alter the default settings and other configuration information.
  83.  
  84. The client software searches for the 'client.env' file on startup. As usuall, the current working directory is serached before the Preferences folder. If the file is not found, then a new one will be created in the 'PrimeBase Setup' folder in the 'Preferences' folder.
  85.  
  86. Double-client on an environment file to edit it, or to see which value can be configured.
  87.  
  88. NOTE: Editing the PrimeBase server environment file (server.env), has no effect on server settings which are stored as 'System Variables' in the Master database. Check the Reference Manual for details on server system variables.
  89.  
  90.  
  91.  
  92.  
  93.